package com.tengju.motivation.infrastructure.persistence.mybatis.mapper;

import com.tengju.motivation.infrastructure.persistence.mybatis.dataobject.MotivationActivityTargetMetaDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 大木
 * @date: 2021/10/14 8:06 下午
 */
public interface MotivationActivityTargetMetaMapper {

    int deleteById(@Param("id") long id);

    int insert(@Param("meta") MotivationActivityTargetMetaDO meta);

    List<MotivationActivityTargetMetaDO> getActivityTargetMetaByActivityId(@Param("activityIds") List<Long> activityIds);
}
